<script setup lang="ts">
const { text, width,height,color } = defineProps({
  text: {
    type: String
  },
  width: String,
  height: String,
  color: String
})


</script>

<template>
  <div class="icon">
    <slot name="img"></slot>
    {{text}}
  </div>

</template>

<style lang="scss" scoped>
.icon{
  height: v-bind(height);
  width: v-bind(width);
  color: v-bind(color);
  //display: flex;
  //justify-content: center;
  //align-items: center;

}

</style>